package com.example.demo.spring.aop.util;

/**
 * @author: htc
 * @date: Created in 13:54 2019/2/20.
 */
public class StringUtils {
    public static boolean isNotBlank(String str) {
        if (str != null && str.trim().length() > 0) {
            return true;
        } else {
            return false;
        }
    }

    public static boolean isBlank(String str) {
        return !isNotBlank(str);
    }
}
